﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="Day2.MyProfilePage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	SupportedOrientations="Portrait" Orientation="Portrait"
	shell:SystemTray.IsVisible="False">

	<!--LayoutRoot contains the root grid where all other page content is placed-->
	<Grid x:Name="LayoutRoot">
		<controls:Panorama Title="my application">
			<controls:Panorama.Background>
				<ImageBrush Stretch="UniformToFill" ImageSource="/Images/pano.jpg"/>
			</controls:Panorama.Background>

			<controls:PanoramaItem Header="Contact">
				<StackPanel>
					<StackPanel Orientation="Horizontal">
						<RadioButton x:Name="rdMale" Content="Male" GroupName="gender" IsChecked="True"/>
						<RadioButton x:Name="rdFemale" Content="Female" GroupName="gender"/>
					</StackPanel>
					<TextBlock TextWrapping="Wrap" Text="Name"/>
					<TextBox TextWrapping="Wrap" InputScope="PersonalFullName"/>
					<TextBlock TextWrapping="Wrap" Text="Email"/>
					<TextBox TextWrapping="Wrap" InputScope="EmailUserName"/>
					<TextBlock TextWrapping="Wrap" Text="Phone"/>
					<TextBox TextWrapping="Wrap" InputScope="TelephoneNumber"/>
				</StackPanel>
				
			</controls:PanoramaItem>

			<controls:PanoramaItem Header="Description">
				<Grid>
					<TextBox TextWrapping="Wrap" InputScope="Text"/>
				</Grid>
			</controls:PanoramaItem>
			
			<controls:PanoramaItem Header="Birthday">
				<StackPanel>
					<toolkit:DatePicker x:Name="myDateTime"/>
				</StackPanel>
			</controls:PanoramaItem>
			
			<controls:PanoramaItem Header="My Page">
				<Grid>
					<phone:WebBrowser x:Name="MyWeb" Source="http://bing.com"/>
				</Grid>
			</controls:PanoramaItem>
			
		</controls:Panorama>
	</Grid>
</phone:PhoneApplicationPage>